package com.imooc.module.exception;

import lombok.Data;

/**
 * @Author Tim
 * @Description:
 * @Version 1.0
 */
@Data
public class DataCenterException extends RuntimeException{
    private Integer code = 500;

    public DataCenterException(String msg) {
        super(msg);
    }

    public DataCenterException(String msg, Integer code) {
        super(msg);
        this.code = code;
    }
}
